import { message } from 'ant-design-vue';

import {adminGetCategoryList} from '@/api/api'
async function adminGetCategorys(param: any) {
    const  res :any = await adminGetCategoryList(param);
    if (res.code != 200) {
        message.error(res.msg);
        return false;
    }
    return res.data;
}
export default adminGetCategorys;